package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.ApproveHisVO;

import java.util.ArrayList;
import java.util.List;

public class ApproveHisDubboServiceMock implements ApproveHisDubboService {
    @Override
    public ApproveHisVO getById(String id) throws Exception {
        ApproveHisVO vo = new ApproveHisVO();
        vo.setHisId("暂无数据");
        return null;
    }

    @Override
    public void saveOrUpdate(ApproveHisVO approveHisVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<ApproveHisVO> findPageByVO(ApproveHisVO approveHisVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<ApproveHisVO> page =  new   PageInfo<ApproveHisVO>();
        List  list  =  new ArrayList();
        ApproveHisVO vo =  new ApproveHisVO();
        vo.setHisId("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public void removeByListVo(List<ApproveHisVO> approveHisVOList) throws Exception {

    }

    @Override
    public List listByVo(ApproveHisVO approveHisVO) {
        List  list  =  new ArrayList();
        ApproveHisVO vo =  new ApproveHisVO();
        vo.setHisId("暂无数据");
        list.add(vo);
        return list;
    }
}
